home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2007 September / PCWSEP07.iso / Software / Linux / Linux Mint 3.0 Light / LinuxMint-3.0-Light.iso / casper / filesystem.squashfs / usr / share / doc / libgphoto2-2 / README.Debian < prev    next >
Encoding:
Text File  |  2007-04-02  |  1.1 KB  |  30 lines

  1. Using libgphoto2 as a normal user
  2. ---------------------------------
  3.  
  4. This version of libgphoto2-installs hotplug and udev files in
  5. /etc/hotplug/usb/libgphoto2 (resp /etc/udev/libgphoto2.rules) to
  6. allow camera access to all members of group 'plugdev'.
  7.  
  8. This means the only configuration is to add authorized users to the
  9. 'plugdev' group.  Note that group changes will only apply when you
  10. relog.
  11.  
  12. Currently udev can only set group ownership on specific USB ID, not
  13. on a general capability such as "PTP camera".  If you know your camera
  14. is compatible with PTP and is not handled by udev, you can create a file
  15. in /etc/udev/rules.d/, say z25_my_camera.rules, with such a content:
  16.  
  17. ACTION=="add", SYSFS{idVendor}=="XXXX", SYSFS{idProduct}=="YYYY", \
  18.   MODE="0660", GROUP="plugdev"
  19.  
  20. You can get XXXX and YYYY value with lsusb, for example:
  21.  
  22.   Bus 001 Device 010: ID 04a9:3125 Canon, Inc.
  23.                          ^^^^ ^^^^
  24.              XXXX YYYY
  25.  
  26. You can also send the USB ID as a Debian bug report or to gphoto2
  27. development mailing list at gphoto-devel@lists.sourceforge.net
  28.  
  29. Note: before 2.2.1-9, the group was not 'plugdev' but 'camera'.
  30.